<table cellspacing="0" cellpadding="0" width="100%" class="forumline">
    <tr>

        <td class="row-header" colspan="3"><span>{language text="who_s_online_recent_10"}</span></td>
    </tr>
    {if $iCnt}
    <tr>
        <td class="catBottom" colspan="3">
        <table style="width:100%;">
        <tr>
        	<td>{language text='global_pager' rp1=$iFrom rp2=$iTo rp3=$iCnt}</td>
        	<td style="text-align:right;">{include file="$sRootPath/_blocks/pager.html"}</td>
        </tr>
        </table>
        </td>
    </tr>
    {/if}
    <tr>
        <th class="row1" style="width:33%;">{language text="user"}</th>
        <th class="row1" style="width:33%;">{language text="page"}</th>
        <th class="row1" style="width:33%;">{language text="ip"}</th>

    </tr>
    {foreach from=$aLastUsers item=aUser}
    <tr>
        <td class="row1" style="width:33%;">
        {if $aUser.online_session_user}
            <a href="{url link='public.user' name=$aUser.online_session_user}">{$aUser.online_session_user}</a>
        {else}
            {language text="guest"}
        {/if}
        </td>
        <td class="row1" style="width:33%;"><a href="{url link=$aUser.online_session_page}">{$aUser.online_session_page_display}</a></td>
        <td class="row1" style="text-align:left;width:33%;">&nbsp;<a href="http://www.dnsstuff.com/tools/whois.ch?ip={$aUser.online_session_ip}&src=ShowIP" target="_blank">{$aUser.online_session_ip}</a></td>
    </tr>
    {/foreach}
    <tr>
        <td class="catBottom" colspan="3">{language text="members_online"} {$iMemOnline} - {language text="guests_online"} {$iVisOnline}</td>
    </tr>
</table>